@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="hjmallind_user_card";
		@ var _key="id";
		@ var _col=[
@			  {name:"", index:"id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"store_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"用户ID", index:"user_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"卡券ID", index:"card_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"卡券名称", index:"card_name", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"card_pic_url", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"卡券描述", index:"card_content", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"是否使用 0--未使用 1--已使用", index:"is_use", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"is_delete", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"addtime", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"核销人id", index:"clerk_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"店铺ID", index:"shop_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:" 核销时间", index:"clerk_time", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"发放卡券的订单id", index:"order_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"商品ID", index:"goods_id", type:"text",newline:true,length:8,required:"required"}		
		@		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}